﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="checkresume.aspx.cs" Inherits="lcmyjobs.Web.Admin.checkresume" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>个人会员管理</title>
    <link href="../css/AdminFrame.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/mybasic.js" type="text/javascript"></script>    
    <style type="text/css">

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="rightCenter">
        <div class="rightBack">
            <div class="rightContentTop">
                <ul>
                    <li class="cur"><a href="checkresume.aspx">个人会员管理</a> </li>
                </ul>
            </div>
            <div class="rightContentMiddle">
            <table  width="100%">
                <tr>
                    <td style=" text-align:left; font-size:12px; " class="style3">
                        <asp:Image ID="Image1" CssClass=" imgstyle" ImageUrl="../images/h_ctenter_iocn.jpg" runat="server" />&nbsp;
                      <span class="spanstyle">等待审核会员<asp:Label ID="lbl_count" runat="server"></asp:Label>个</span>
                    </td>
                    <td style=" text-align:left">
                          
                    </td>
                </tr>
                 <tr>
                    <td colspan="2">
                      <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="uid"
                    EnableModelValidation="True" OnRowDataBound="GridView1_RowDataBound" 
                    OnRowDeleting="GridView1_RowDeleting" GridLines="None" Width="100%" 
                    CssClass="grid">
                    <Columns>
                        <asp:TemplateField HeaderText="姓名">                        
                            <HeaderTemplate>
                                <input id="Checkbox1" type="checkbox" onclick="checkall(this)" />
                                &nbsp;姓名
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:CheckBox ID="chku" runat="server" />                               
                                &nbsp;<asp:HyperLink ID="HyperLink1" runat="server" target='_blank' NavigateUrl='<%# "showuser.aspx?id="+ Eval("uid") %>'><%# Eval("truename") %></asp:HyperLink>
                                <asp:Label ID="lbl_email" runat="server" Text='<%# Bind("email") %>' Visible="False"></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle HorizontalAlign="Left" CssClass="tdleftmargin"/>
                            <ItemStyle  CssClass="tdleftmargin" HorizontalAlign="Left" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="phone" HeaderText="手机" />

                        <asp:TemplateField HeaderText="年龄&bull;身高">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("age") %>'></asp:Label>岁&nbsp;&nbsp;<asp:Label ID="Label4" runat="server" Text='<%# Eval("height") %>'></asp:Label>CM</ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="毕业院校&bull;时间">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label3" runat="server" Text='<%# Eval("school") %>'></asp:Label>&nbsp;&nbsp;<asp:Label ID="Label5" runat="server" Text='<%# Eval("eduyear") %>'></asp:Label>年
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="status" HeaderText="审核状态" />
                        <asp:BoundField DataField="registertime" HeaderText="注册时间" DataFormatString="{0:yyyy-MM-dd H:mm}" />
                        <asp:TemplateField ShowHeader="False" HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandName="Delete"
                                    Text="删除"  OnClientClick= "return confirm('此操作将会删除该会员的所有信息，确认要删除吗？')"></asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
 
                    </td>
                </tr>
                <tr>
                    <td colspan="2"  class="pagerstyle">
                     <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                    PageSize="15" AlwaysShowFirstLastPageNumber="True" CustomInfoTextAlign="Left"
                    FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" NumericButtonCount="10"
                    PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="" CustomInfoHTML="第 %CurrentPageIndex% 页 共 %PageCount%页 %RecordCount%条记录 "
                    LayoutType="Table" ShowCustomInfoSection="Left" ShowNavigationToolTip="True"
                    ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextAfterPageIndexBox="&nbsp;页"
                    TextBeforePageIndexBox="转到第"  AlwaysShow="true">
                </webdiyer:AspNetPager>
                                 
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="style4">
                        &nbsp; </td>
                </tr>
                <tr>
                    <td colspan="2" >
                     <div style=" margin:0 auto; width:450px;">
                     
                     <asp:Button ID="btnCheck" runat="server" Text="审核" OnClick="btnCheck_Click" CssClass="bgbtn"  OnClientClick= "if(havecheck()) return confirm('确认要审核吗？')"/>
                
                <asp:Button ID="btnNOCheck" runat="server" Text="取消审核" OnClick="btnNOCheck_Click" CssClass="bgbtn"  OnClientClick= "if(havecheck()) return confirm('确认要取消审核吗？')"/>
                
                <asp:Button ID="btnMail" runat="server" Text="发送邮件" OnClick="btnMail_Click" CssClass="bgbtn"  OnClientClick= "if(havecheck()) return confirm('确认要发送邮件吗？')"/>
                
                <asp:Button ID="btnDel" runat="server" Text="删除" OnClick="btnDel_Click" CssClass="bgbtn"  OnClientClick= "if(havecheck()) return confirm('此操作将会删除该会员的所有信息，确认要删除吗？')"/>
                </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        &nbsp;</td>
                </tr>
            </table>
                
               
            </div>
        </div>
    </div>
    </form>
</body>
</html>
